//
//  SelectColorSubHeadView.swift
//  CreateMyCode
//
//  Created by zhibao on 2024/2/20.
//

import UIKit
class SelectColorSubHeadView: UICollectionReusableView {
    var titleLabel  = UILabel()
    
    override init(frame: CGRect) {
        super.init(frame: frame)
        self.backgroundColor = UIColor.white
        titleLabel.font = MY_SCALE_RegularFONT(12)
        titleLabel.textColor = UIColor.white
        self.addSubview(titleLabel)
        titleLabel.snp.makeConstraints { make in
            make.centerY.equalTo(self)
            make.left.equalTo(self).offset(pixw(p: 10))
        }
    }
    
    required init?(coder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
}
